<?php
/* Smarty version 3.1.30, created on 2017-10-08 07:26:08
  from "C:\ComsenzEXP\wwwroot\Moodblog\admin\html\article.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_59d9d310200800_76093395',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'f3b755fb0c3a440cb0ec47fb6f5378e9a67edca8' => 
    array (
      0 => 'C:\\ComsenzEXP\\wwwroot\\Moodblog\\admin\\html\\article.html',
      1 => 1506136057,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_59d9d310200800_76093395 (Smarty_Internal_Template $_smarty_tpl) {
?>
<head>
	<link rel="stylesheet" type="text/css" href="./html/common.css" />
</head>
<div class="content">
	<div class = "setTitle">博文管理 <a href='editor.php'>+发布博文</a></div>
	<table class="setTable">
		<tbody>
			<tr>
				<th>ID</th>
				<th>标题</th>
				<th>作者</th>
				<th>时间</th>
				<th>浏览量</th>
				<th>管理</th>
			</tr>
			<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['article']->value, 'value');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['value']->value) {
?>
				<tr>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
</td>
					<td><a href='../view.php?article=<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
' target='_blank'><?php echo $_smarty_tpl->tpl_vars['value']->value['title'];?>
</a></td>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['author'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['pubtime'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['view'];?>
</td>
					<td>
						<a href="editor.php?editor=<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
">编辑</a>
						<a href="trans.php?action=unsetarticle&id=<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
">删除</a>
					</td>
				</tr>
			<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

		</tbody>
	</table>
<div>
<?php }
}
